Page({
  data: {
    records: [
      {
        id: 1,
        name: '计算机基础知识',
        progress: 60,
        lastChapter: '第一章：计算机基础',
        lastTime: '2023-12-01 12:00:00'
      }
    ]
  },

  onLoad() {
    // 加载学习记录
  },

  continueLearning(e) {
    const id = e.currentTarget.dataset.id
    wx.navigateTo({
      url: `/pages/course/course?id=${id}`
    })
  }
}) 